<template>
  <div>
    <h3>测试题</h3>
    <div v-for="item in list" :key="item.id">
      <span>{{ item.num1 }}</span>
      <span>+</span>
      <span>{{ item.num2 }}</span>
      <span>=</span>
      <input type="number" /> <button>提交</button>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    list: Array,
  },
}
</script>

<style></style>
